package service;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import po.ResultMessage;
import po.UserPO;
import po.UserStatus;

public interface UserDataService extends Remote{
	
	public ResultMessage logIn(UserPO user) throws RemoteException;
	
	public ResultMessage add(UserPO user) throws RemoteException;
	
	public ResultMessage remove(UserPO user) throws RemoteException;

	public ResultMessage update(UserPO user) throws RemoteException;
	
	public List<UserPO> getAll(UserStatus status) throws RemoteException;
}